﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wyse.Server.Base
{
    /// <summary>
    /// Used to mark message objects
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)]
    public class MessageDataAttribute : Attribute
    {
        public MessageDataAttribute(String action)
        {
            Action = action;
        }

        /// <summary>
        /// Returns the message's action string
        /// </summary>
        public String Action
        {
            get;
            private set;
        }
    }
}
